package jlxy.ise.eroad.base;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import jlxy.ise.eroad.GdApp;
import jlxy.ise.eroad.bean.DriverInfo;


/**
 * Created by chen .
 */
public class BaseCompatActivity extends AppCompatActivity {

    protected GdApp mApp;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mApp = (GdApp) getApplication();
    }

    public DriverInfo.DataBean getDriverInfo(){
        return mApp.getDriverInfo();
    }


}
